Repository navigation
linux-omarchy-aarch64: build hibernation - #3179
Merged
ryanrhughes merged 3 commits intoNov 21, 2026
Merged
Conversation
… X1 laptop needs to resume The ARM configuration has had CONFIG_HIBERNATION off since the N1x kernel came in, while linux-omarchy on x86_64 has it on, so no ARM computer could hibernate and nobody could work on getting one to resume. 7.3-75 turns it on and carries eight patches from the kernel lists: the pin configuration restore (2280), the PCIe shutdown series and powering a controller down when hibernating (2281 to 2284), smp2p starting over after a restore (2285), hci_qca's in-band sleep state (2286) and the geni serial engine setup after a restore (2287).
Contributor
Author
[Medium impact] No new blocking issue was found; merge should still wait for the setup guard required by the PR description. SummaryEnables
Reviews (4) · Last reviewed commit: "linux-omarchy-aarch64: build hibernation..." · Reviewed by Greptile |
…n callback qcom_pcie_shutdown() left pcie unset on the firmware-managed branch and tested it afterwards. The build zeroes stack variables, so it read NULL there, but only by that setting.
Contributor
Author
On the current base the eight fixes do not get a Yoga Slim 7x through a power-off cycle, and the October kernel no longer completes one on that laptop either. They come back once a laptop resumes with them. 7.3-75 is now the configuration change alone.
Contributor
Author
birkskyum
marked this pull request as ready for review
November 21, 2026 14:40
Contributor
birkskyum
added a commit
to birkskyum/omarchy-pkgs
that referenced
this pull request
Nov 23, 2026
…SHM bridges in 2289 2283's qcom_pcie_shutdown() left pcie unset on the firmware-managed branch and tested it afterwards. It read NULL only because the build zeroes stack variables, so it starts as NULL now, as omacom#3179 had it. 2289 marked the SHM bridges restored and reported success even when one couldn't be created again. Now the error goes back through the restore and thaw callbacks, qcom_tzmem_bridges_suspended() stays true, and the area is tried again at the next thaw or restore. The patches no longer carry their position in the series in the subject. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ryanrhughes
pushed a commit
that referenced
this pull request
Nov 23, 2026
…ptops back from hibernation, first the Yoga Slim 7x (#3304) * linux-omarchy-aarch64: bring the Snapdragon X1 laptops back from hibernation 7.3-78 carries 2280 to 2298. These are the eight fixes from the kernel lists that #3179 took out again, and five more for devices the restore found set up wrong (geni clocks, TrustZone SHM bridges, SoundWire and reset-gpio). Then the GMU state after a restore and gennro's GMU ack fixes from armada-os/armada#662, and the GIC's LPI tables, which on the X1 can't be moved once the loader enabled them. A device tree can now give the GIC node a memory-region for them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * linux-omarchy-dtbs: fixed GIC LPI tables for the Yoga Slim 7x 0071 reserves 1 MiB at 0x8a0000000 and names it as the GIC's memory-region, so the loader of a hibernation image and the restored kernel put the LPI tables at the same address (linux-omarchy-aarch64 7.3-78, 2298). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * linux-omarchy-aarch64: start pcie as NULL in 2283, report unrestored SHM bridges in 2289 2283's qcom_pcie_shutdown() left pcie unset on the firmware-managed branch and tested it afterwards. It read NULL only because the build zeroes stack variables, so it starts as NULL now, as #3179 had it. 2289 marked the SHM bridges restored and reported success even when one couldn't be created again. Now the error goes back through the restore and thaw callbacks, qcom_tzmem_bridges_suspended() stays true, and the area is tried again at the next thaw or restore. The patches no longer carry their position in the series in the subject. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Omarchy's ARM kernel has
CONFIG_HIBERNATIONoff since the N1x kernel came in (#930), whilelinux-omarchyon x86_64 has it on. So no ARM computer can hibernate, and nobody can work on getting one to resume without building a kernel first.linux-omarchy7.3-75 turnsCONFIG_HIBERNATIONon. The other configuration lines are whatmake olddefconfigderives from it. No source changes.Nothing changes for an install by this alone. Omarchy sets hibernation up on an ARM computer only when asked to, with
omarchy-hibernation-setup --experimental(omacom/omarchy#19617). That has to be in theomarchy-devpackage before this merges, since the installer runs hibernation setup on every install.No ARM laptop is known to come back from hibernation yet. A Lenovo Yoga Slim 7x loads the image and resumes the first devices, then loses the session. An earlier revision of this PR carried eight fixes for that laptop (pin configuration, PCIe shutdown, smp2p, Bluetooth and the serial engine). They are out again, because on the current base they do not get it through a power-off cycle. They come back in their own PR once a laptop resumes with them.
Checked in the aarch64 builder:
make olddefconfiggives, so the build's diff of it shows no new lines.kernel/power.Not yet run on a laptop at 7.3-75.